package edu.sctu.renpingan.day20150505;

/**
 * Created by Administrator on 2015/5/5.
 */
public class Dogone extends Abstract {
    public InterfaceText interfaceText1;
    public Dogone(InterfaceText interfaceText1){
        this.interfaceText1 = interfaceText1;
    }
    @Override
    public void getcolor() {
color = "yellow";
    }

    @Override
    public void getaction() {
action = "run";
    }

    @Override
    public void getsize() {
size=80;
    }


    public void dogone() {
        interfaceText1.getierface(color,action,size);
    }
}
